package com.cskaoyan.market.db.admin.bo.creategoods;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName: project-second
 * @package: java44th.group.bean.admin.bo.goods.creategoods
 * @className: AdminGoodsPO
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/12 16:35
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AdminGoodsPO implements Serializable {


    /**
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/904l329brm17x1ldj8lj.jpg
     * gallery : ["http://182.92.235.201:8083/wx/storage/fetch/jyll9di6upluc2xe9k2l.jpg","http://182.92.235.201:8083/wx/storage/fetch/25dbmfj24jke2pr6idk1.jpg","http://182.92.235.201:8083/wx/storage/fetch/gu90ez536wl55r6p5yd5.jpg"]
     * isHot : false
     * isNew : true
     * isOnSale : true
     * goodsSn : 123123
     * name : 神奇宝贝
     * unit : 个
     * keywords : kawaiii,cute
     * categoryId : 1015001
     * brandId : 1001007
     * brief : 好看好看
     * detail : <p>敲可爱</p>
     */
    // private Integer id;
    // private String picUrl;
    // private Boolean isHot;
    // private Boolean isNew;
    // private Boolean isOnSale;
    // private String goodsSn;
    // private String name;
    // private String unit;
    // private String keywords;
    // private Integer categoryId;
    // private Integer brandId;
    // private String brief;
    // private String detail;
    // private String[] gallery;
    private Integer id;

    private String goodsSn;

    private String name;

    private Integer categoryId;

    private Integer brandId;

    private String[] gallery;

    private String keywords;

    private String brief;

    private Boolean isOnSale;

    private Short sortOrder;

    private String picUrl;

    private String shareUrl;

    private Boolean isNew;

    private Boolean isHot;

    private String unit;

    private BigDecimal counterPrice;

    private BigDecimal retailPrice;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;

    private String detail;
}
